home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 3 / BBS in a box - Trilogy III.iso / Files / Prog / T / TIFF Code Folder / stubs.c < prev    next >
Encoding:
Text File  |  1987-07-20  |  1.4 KB  |  72 lines  |  [TEXT/MPS ]

  1. /*------------------------------------------------------------------------------
  2.  
  3. FILE
  4.      Stubs.c - Stubs for runtime library routines not used by MPW tools
  5.  
  6.  
  7. DESCRIPTION
  8.      This file provides stubs for several routines defined in the runtine
  9.      library that aren't necessary in MPW tools.  These routines are 
  10.      referenced by the Standard C Library I/O functions, but are never called.
  11.      Because they are referenced, the linker can't remove them.  The stubs in
  12.      this file provide dummy routines which are never called, but reduce the
  13.      size of the tool.
  14.  
  15. COPYRIGHT
  16.      Copyright Apple Computer, Inc. 1986-1987
  17.      All rights reserved.
  18.  
  19.  
  20. ------------------------------------------------------------------------------*/
  21.  
  22.  
  23.  
  24. /* Console Driver
  25.  
  26.    These drivers provide I/O to the screen (or a specified port) in
  27.    applications.  They aren't necessary in tools.  
  28. */
  29.  
  30. _coFAccess() {}
  31. _coClose() {}
  32. _coRead() {}
  33. _coWrite() {}
  34. _coIoctl() {}
  35. _coExit() {}
  36.  
  37.  
  38. /* File System Driver
  39.  
  40.    Tools use the file system drivers linked with the MPW Shell.
  41. */
  42.  
  43. _fsFAccess() {}
  44. _fsClose() {}
  45. _fsRead() {}
  46. _fsWrite() {}
  47. _fsIoctl() {}
  48. _fsExit() {}
  49.  
  50.  
  51. /* System Driver
  52.  
  53.    Tools use the system drivers linked with the MPW Shell.
  54. */
  55.  
  56. _syFAccess() {}
  57. _syClose() {}
  58. _syRead() {}
  59. _syWrite() {}
  60. _syIoctl() {}
  61. _syExit() {}
  62.  
  63.  
  64. /* Floating Point Conversion Routines
  65.  
  66.    These routines, called by printf, are only necessary if floating point
  67.    formatting is used.
  68. */
  69.  
  70. ecvt() {}
  71. fcvt() {}
  72.